

#ifndef _SHELL_REQEXCHANGEMONEY_MESSAGE_H_
#define _SHELL_REQEXCHANGEMONEY_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqExchangeMoneyMessage : public Message
{
	public:
	ReqExchangeMoneyMessage();
	~ReqExchangeMoneyMessage();
	void reset();
	ReqExchangeMoneyMessage* clone();
	static const int _ID;
	//0.全部兑换,1.兑换一次
	int8 type;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
